package com.antler.smt.request.admin;

import com.antler.smt.request.base.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 *  订单请求实体
 *
 * @author zhangyi
 * @date 2018/3/28 9:55
 */
@ApiModel(value = "GetOrderListReq", description = "订单请求实体")
public class GetOrderListReq extends BasePageReq {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id", allowEmptyValue = true)
    private Long id;
    /**
     * 最终报价
     */
    @ApiModelProperty(value = "最终报价", name = "price", required = true)
    private Long price;

    /**
     * 支付类型 1线下打款 2银联 3支付宝 4微信
     */
    @ApiModelProperty(value = "支付类型 1线下打款 2银联 3支付宝 4微信", name = "price", required = true)
    private Integer payType;

    /**
     * 对接人id
     */
    @ApiModelProperty(value = "对接人id", name = "connectUserId", required = true)
    private Long connectUserId;

    /**
     * 快递信息
     */
    @ApiModelProperty(value = "快递信息", name = "postInfo", required = true)
    private String postInfo;

    /**
     * 快递类型
     */
    @ApiModelProperty(value = "快递类型", name = "posType", required = true)
    private Integer postType;

    /**
     * 交货时间
     */
    @ApiModelProperty(value = "交货时间", name = "endTime", required = true)
    private Date endTime;

    /**
     * 收获地址id
     */
    @ApiModelProperty(value = "收获地址id", name = "receivingAddressId", required = true)
    private Long receivingAddressId;

    /**
     * 进度1已下单，未完成  2已完成，未评价 3已经结束
     */
    @ApiModelProperty(value = "进度1已下单，未完成  2已完成，未评价 3已经结束", name = "progress", required = true)
    private Integer progress;

    /**
     * 展示给采购商的最终报价
     */
    private Long priceToPurchaser;

    /**
     * 展示给服务商的最终报价
     */
    private Long priceToSupplier;


    /**
     * 给采购商发票（1给了0没给）
     */
    private Integer receiptToPurchaser;

    /**
     * 服务商给我们发票（1给了0没给）
     */
    private Integer supplierReceipt;

    /**
     * 和采购商签合同（1签了0没签）
     */
    private Integer agreement;

    /**
     * 来料验收，采购商有没有给我们（1给了0没给）
     */
    private Integer incomingAcceptance;

    /**
     * 服务商（项目专员）确定其领料验收（1给了0没给）
     */
    private Integer materialAcceptance;

    /**
     * 服务商和我们签合同（1签了0没签）
     */
    private Integer agreementToSupplier;

    public Integer getAgreementToSupplier() {
        return agreementToSupplier;
    }

    public void setAgreementToSupplier(Integer agreementToSupplier) {
        this.agreementToSupplier = agreementToSupplier;
    }

    public Integer getReceiptToPurchaser() {
        return receiptToPurchaser;
    }

    public void setReceiptToPurchaser(Integer receiptToPurchaser) {
        this.receiptToPurchaser = receiptToPurchaser;
    }

    public Integer getSupplierReceipt() {
        return supplierReceipt;
    }

    public void setSupplierReceipt(Integer supplierReceipt) {
        this.supplierReceipt = supplierReceipt;
    }

    public Integer getAgreement() {
        return agreement;
    }

    public void setAgreement(Integer agreement) {
        this.agreement = agreement;
    }

    public Integer getIncomingAcceptance() {
        return incomingAcceptance;
    }

    public void setIncomingAcceptance(Integer incomingAcceptance) {
        this.incomingAcceptance = incomingAcceptance;
    }

    public Integer getMaterialAcceptance() {
        return materialAcceptance;
    }

    public void setMaterialAcceptance(Integer materialAcceptance) {
        this.materialAcceptance = materialAcceptance;
    }

    public Long getPriceToPurchaser() {
        return priceToPurchaser;
    }

    public void setPriceToPurchaser(Long priceToPurchaser) {
        this.priceToPurchaser = priceToPurchaser;
    }

    public Long getPriceToSupplier() {
        return priceToSupplier;
    }

    public void setPriceToSupplier(Long priceToSupplier) {
        this.priceToSupplier = priceToSupplier;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Long getConnectUserId() {
        return connectUserId;
    }

    public void setConnectUserId(Long connectUserId) {
        this.connectUserId = connectUserId;
    }

    public String getPostInfo() {
        return postInfo;
    }

    public void setPostInfo(String postInfo) {
        this.postInfo = postInfo;
    }

    public Integer getPostType() {
        return postType;
    }

    public void setPostType(Integer postType) {
        this.postType = postType;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getReceivingAddressId() {
        return receivingAddressId;
    }

    public void setReceivingAddressId(Long receivingAddressId) {
        this.receivingAddressId = receivingAddressId;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }
}
